#!/bin/bash
yum  clean  all
rm  -rf  /etc/yum.repos.d/*.repo
wget  -O  /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
wget  -O  /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
sed  -i  '/aliyuncs/d' /etc/yum.repos.d/CentOS-Base.repo
cp repo.d/ceph-jewel.repo /etc/yum.repos.d/
#yum makecache
